package com.liang.drug.controller;/*
 *@Author: ljy
 *@Date:2021/10/31 12:06
 *
 */

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HelloWord {
    @RequestMapping("/api")
    @ResponseBody
    public String hello() {
        return  "hello world ";
    }
}
